import { createBrowserRouter } from "react-router-dom";
import RootLayout from "@/layout/RootLayout";
import NotFound from "@/page/NotFound";
import FilePlan from "@/page/FilePlan";
import PluginPage from "@/page/PluginPage";

export const router = createBrowserRouter([
  {
    path: "/",
    element: <RootLayout />,
    children: [
      {
        path: "/",
        element: <FilePlan />,
      },
      {
        path: "/pluginPage",
        element: <PluginPage />,
      },
    ],
  },
  {
    path: "*",
    element: <NotFound />,
  },
])
